FROM registry-vpc.cn-shanghai.aliyuncs.com/fox-base/lumen-cli:2

MAINTAINER jiuqu

COPY . /var/www/application

CMD sh -c "/usr/bin/crontab /var/www/application/schedule-cron && /usr/sbin/crond -f"